package com.ljn.core.dto.common;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {

    private String userId;

    private String userName;

    private String name;

    private Long phone;

    private String password;

    private Byte type;

    private String email;

    private String potrait;

    private Date createTime;

    private Date updateTime;

    public User(String userId, String userName, String name, Long phone, String password, Byte type, String email, Date createTime, Date updateTime, String potrait) {
        this.userId = userId;
        this.userName = userName;
        this.name = name;
        this.phone = phone;
        this.password = password;
        this.type = type;
        this.email = email;
        this.potrait = potrait;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public User() {
        super();
    }


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserName() {
        return userName;
    }


    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }


    public Long getPhone() {
        return phone;
    }


    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Byte getType() {
        return type;
    }


    public void setType(Byte type) {
        this.type = type;
    }

    public String getPotrait() {
        return potrait;
    }

    public void setPotrait(String potrait) {
        this.potrait = potrait;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }


    public Date getCreateTime() {
        return createTime;
    }


    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public Date getUpdateTime() {
        return updateTime;
    }


    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}